{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>详情</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal" name="userAdd" id="userAdd">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">姓名：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_username" type="text" class="form-control" name="user_username"
                                       value="{$info.user_username}" disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">手机号：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_phone" type="text" class="form-control" name="user_phone" value="{$info.user_phone}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">头像：</label>
                            <div class="input-group col-sm-5">
                                <img id="user_image" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$info.user_image}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">店铺名称：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_shopname" type="text" class="form-control" name="user_shopname" value="{$info.user_shopname}"
                                       disabled>
                            </div>
                        </div>

                        {if $info.user_type==2}
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">所属品牌：</label>
                            <div class="input-group col-sm-4">
                                <input id="p_name" type="text" class="form-control" name="p_name" value="{$info.p_name}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">预约资格：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_can_yuyue" type="text" class="form-control" name="user_can_yuyue" value="{if $info.user_can_yuyue==0}无{/if}{if $info.user_can_yuyue==1}有{/if}"
                                       disabled>
                            </div>
                        </div>
                        {/if}

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">账户余额（元）：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_money" type="text" class="form-control" name="user_money" value="{$info.user_money}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_type" type="text" class="form-control" name="user_type" value="{$info.user_type==1?'用户':'运营'}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户状态：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_status" type="text" class="form-control" name="user_status"
                                       value="{if $info.user_status==0}审核中{/if}{if $info.user_status==1}正常{/if}{if $info.user_status==2}审核失败{/if}{if $info.user_status==3}冻结{/if}" disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地区：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_ssq_str" type="text" class="form-control" name="user_ssq_str" value="{$info.user_ssq_str}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">详细地址：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_address" type="text" class="form-control" name="user_address" value="{$info.user_address}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">注册时间：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_time" type="text" class="form-control" name="user_time" value="{$info.user_time}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">身份证号：</label>
                            <div class="input-group col-sm-4">
                                <input id="user_idcard" type="text" class="form-control" name="user_idcard" value="{$info.user_idcard}"
                                       disabled>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">身份证正反面：</label>
                            {if count($info.user_idcard_img) >0}
                            <div class="input-group col-sm-5">
                                {volist name='info.user_idcard_img' id='vo'}
                                <img id="user_idcard_img" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$vo}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                                {/volist}
                            </div>
                            {else /}
                            暂无图片
                            {/if}
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">营业执照：</label>
                            {if count($info.user_zhizhao) >0}
                            <div class="input-group col-sm-5">
                                {volist name='info.user_zhizhao' id='vo1'}
                                <img id="user_zhizhao" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$vo1}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                                {/volist}
                            </div>
                            {else /}
                            暂无图片
                            {/if}
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">资质：</label>
                            {if count($info.user_zizhi) >0}
                            <div class="input-group col-sm-5">
                                {volist name='info.user_zizhi' id='vo2'}
                                <img id="user_zizhi" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$vo2}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                                {/volist}
                            </div>
                            {else /}
                            暂无图片
                            {/if}
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i>
                                    返回</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}

<script type="text/javascript" src="__JS__/Crop.js"></script>
<script type="text/javascript" src="__JS__/jquery.min.js"></script>
<script type="text/javascript">

</script>
</body>
</html>